% data for Exercise Set 3.2

ex = input('Exercise number (5-14, 21-26, 29, 37, 38, 46)? ');

if ex==5
   A = [1 5 -4;-1 -4 5;-2 -8 7] 
elseif ex==6
   A = [3 3 -3;3 4 -4;2 -3 -5] 
elseif ex==7
   A = [1 3 0 2;-2 -5 7 4;3 5 2 1;1 -1 2 -3] 
elseif ex==8
   A = [1 3 2 -4;0 1 2 -5;2 7 6 -3;-3 -10 -7 2] 
elseif ex==9
   A = [1 -1 -3 0;0 1 5 4;-1 0 5 3;3 -3 -2 3] 
elseif ex==10
   A = [1 3 -1 0 -2;0 2 -4 -2 -6;-2 -6 2 3 10;1 5 -6 2 -3;0 2 -4 5 9] 
elseif ex==11
   A = [3 4 -3 -1;3 0 1 -3;-2 0 -4 3;6 8 -4 -1] 
elseif ex==12
   A = [-1 2 3 0;3 4 3 0;11 4 6 6;4 2 4 3] 
elseif ex==13
   A = [2 5 4 1;4 7 6 2;6 -2 -4 0;-6 7 7 0] 
elseif ex==14
   A = [1 5 4 1; 0 -2 -4 0; 3 5 4 1; -6 5 5 0] 
elseif ex==21
   A = [2 6 0; 1 3 2;3 9 2] 
elseif ex==22
   A = [5 1 -1;1 -3 -2;0 5 3] 
elseif ex==23
   A = [2 0 0 6;1 -7 -5 0;3 8 6 0;0 7 5 4] 
elseif ex==24
   v1 = [4;6;2], v2 = [-7;0;7], v3 = [-3;-5;-2] 
elseif ex==25
   v1 = [7;-4;-6], v2 = [-8;5;7], v3 = [7;0;-5] 
elseif ex==26
   v1 = [3;5;-6;4], v2 = [2;-6;0;7], v3 = [-2;-1;3;0], v4 = [0;0;0;-2] 
elseif ex==29
   B = [1 0 1;1 1 2;1 2 1] 
elseif ex==37
   A = [3 0;6 1], B = [2 0;5 4] 
elseif ex==38
   A = [3 6;-1 -2], B = [4 3;-1 -3]
elseif ex==46
   A = [4 0 -7 -7;-6 1 11 9;7 -5 10 19;-1 2 3 -1] 
else
   disp('No data for this exercise in Section 3.2.')
end
